Routines (alphabetical) > Routines: H > HDF-EOS Routines > EOS_PT_NFIELDS

EOS_PT_NFIELDS

This function returns the number of fields in a level.

Syntax

Result = EOS_PT_NFIELDS( pointID, level [, LENGTH=bytes] )

Return Value

Returns number of fields if successful and FAIL (–1) otherwise.

Arguments

pointID

Point id (long) returned by EOS_PT_CREATE or EOS_PT_ATTACH.

level

Level number (0-based long).

Keywords

LENGTH

Size (long) in bytes of fieldlist for level.

Examples

In this example, we retrieve the number of fields in the 2nd point defined previously:

nflds=EOS_PT_NFIELDS(pointID2,0)

Version History

 

5.2

Introduced